home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-03 / tbsuplow.zip / TBSUPLOW.DOC < prev    next >
Text File  |  1993-03-24  |  2KB  |  53 lines

  1.  
  2.                                TBSUPLOW Command
  3.  
  4.  
  5.     TBSUPLOW:  Turbo Basic Source Upper/Lower Case Conversion.  Turbo Basic
  6.                is a registered trademark of Borland International, Inc.
  7.  
  8.     Purpose:   Converts Turbo Basic input source file to an output source
  9.                file which conforms to the upper/lower case standard which
  10.                is described below.
  11.  
  12.     Format:    [d:][path\]TBSUPLOW input_filespec output_filespec
  13.  
  14.     Files:     TBSUPLOW.EXE - executable program.
  15.                TBRWORDS.DAT - ascii file of Turbo Basic reserved words.
  16.                TBSUPLOW.BAS - program source file for TBSUPLOW.EXE.
  17.                TBSUPLOW.DOC - this document.
  18.  
  19.     Running:   When TBSUPLOW.EXE is run, TBRWORDS.DAT must reside either in
  20.                the root directory of the current drive or in the default
  21.                directory of the current drive.
  22.  
  23.     Input:     If a complete DOS path is not specified, the input source
  24.                file must reside in the current default disk and directory.
  25.  
  26.     Output:    If a complete DOS path is not specified, the output source
  27.                file is created in the current default disk and directory.
  28.  
  29.     Standard:  The input source file is converted to an output source
  30.                file wherein:
  31.                
  32.                1)  Reserved words are capitalized.  Example:  RETURN.
  33.  
  34.                2)  Function names are capitalized.  Example:  FNCOMPUTE.
  35.  
  36.                3)  Comments are NOT altered.  Example:  'upper/LOWER.
  37.  
  38.                4)  One-character labels, variables, and named constants
  39.                    are lower case.  Example: x.
  40.  
  41.                5)  Multi-character labels, variables, and named constants
  42.                    are upper case at the first character and lower case
  43.                    beyond the first character.  Example:  Wordlist.
  44.  
  45.                6)  String constants are NOT altered.  Example:  "AaZz".
  46.  
  47.                7)  Constants prefixed by &H/&h/&B/&b/&O/&o/&Q/&q are
  48.                    capitalized.  Examples:  &H3F, &B01010101, &O77.
  49.  
  50.     Remarks:   Do not be alarmed if DOS DIR reports that output filesize
  51.                is one character shorter than input filesize whenever input
  52.                file includes a CTRL-Z EOF terminator.
  53.